package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 员工管理对象 employee
 *
 * @author ruoyi
 * @date 2023-04-29
 */
public class Employee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工用户名 */
    @Excel(name = "员工用户名")
    private Long employeeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 员工性别 */
    @Excel(name = "员工性别")
    private String sex;

    /** 员工年龄 */
    @Excel(name = "员工年龄")
    private Long age;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String dept;

    /** 部门id */
    private Long deptId;

    /** 是否实习 */
    @Excel(name = "是否实习")
    private String isTrainee;

    /** 员工岗位 */
    @Excel(name = "员工岗位")
    private String post;

    /** 员工手机号 */
    @Excel(name = "员工手机号")
    private String phone;

    /** 基本工资 */
    private Long baseSalary;

    /** 五险一金 */
    private Long insurance;

    /** 员工文档 */
    private String employeeFiles;

    /** 今日是否签到 **/
    private Integer signToday;

    /** 今日签到时间 **/
    private Date signTime;

    private Date leaveTime;

    private Date backTime;

    /** 逻辑删除 */
    private Integer deleted;

    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId()
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName)
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName()
    {
        return employeeName;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }
    public void setDept(String dept)
    {
        this.dept = dept;
    }

    public String getDept()
    {
        return dept;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setIsTrainee(String isTrainee)
    {
        this.isTrainee = isTrainee;
    }

    public String getIsTrainee()
    {
        return isTrainee;
    }
    public void setPost(String post)
    {
        this.post = post;
    }

    public String getPost()
    {
        return post;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setBaseSalary(Long baseSalary)
    {
        this.baseSalary = baseSalary;
    }

    public Long getBaseSalary()
    {
        return baseSalary;
    }
    public void setInsurance(Long insurance)
    {
        this.insurance = insurance;
    }

    public Long getInsurance()
    {
        return insurance;
    }

    public void setEmployeeFiles(String employeeFiles)
    {
        this.employeeFiles = employeeFiles;
    }

    public String getEmployeeFiles()
    {
        return employeeFiles;
    }

    public Integer getSignToday() {
        return signToday;
    }

    public void setSignToday(Integer signToday) {
        this.signToday = signToday;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public Date getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

    public Date getBackTime() {
        return backTime;
    }

    public void setBackTime(Date backTime) {
        this.backTime = backTime;
    }

    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("employeeId", getEmployeeId())
                .append("employeeName", getEmployeeName())
                .append("sex", getSex())
                .append("age", getAge())
                .append("dept", getDept())
                .append("deptId", getDeptId())
                .append("isTrainee", getIsTrainee())
                .append("post", getPost())
                .append("phone", getPhone())
                .append("baseSalary", getBaseSalary())
                .append("insurance", getInsurance())
                .append("employeeFiles", getEmployeeFiles())
                .append("signToday", getSignToday())
                .append("signTime", getSignTime())
                .append("leaveTime", getLeaveTime())
                .append("backTime", getBackTime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}